package com.tourManagement.service;

import com.tourManagement.entity.Notice;

import java.sql.SQLException;
import java.util.List;

/**
 * Author:grass
 * Date:2022/10/16 0016
 */
public interface NoticeService {
    public List<Notice> select() throws SQLException;
    public List<Notice> selectByContent(String content) throws SQLException;
    public int updateContent(Notice notice) throws SQLException;
    public int updateTitle(Notice notice) throws SQLException;
    public int insert(Notice notice) throws SQLException;
    public int delete(int id) throws SQLException;
}
